package com.roadmap.entities.ext;

import com.roadmap.common.BaseConst;
import com.roadmap.common.RdcResourceBundle;
import com.roadmap.entities.Aspirant;

public class AspirantExt extends Aspirant {

	public AspirantExt(Aspirant user) {
		this.copyValues(user);
	}

	public String getLoveDesc() {
		if (this.getLoveType() >= 0
				&& this.getLoveType() < RdcResourceBundle.Love_Desc_Array.length) {
			return RdcResourceBundle.Love_Desc_Array[this.getLoveType()];
		}

		return null;
	}

	public String getSexDesc() {
		if (this.getSex() == BaseConst.ASPIRANT_SEX_MALE) {
			return RdcResourceBundle.Sex_Desc_Male;
		}
		else {
			return RdcResourceBundle.Sex_Desc_Female;
		}
	}
}
